Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetImageResource receives unsupported output #807

Closed
wants to merge 2 commits into from

Conversation

jaapdh
Copy link
Contributor

@jaapdh jaapdh commented Jun 27, 2024

SetImageResource receives the output from imagecreatetruecolor which can also be false or GdImage.

This solves the PHPStan failing on the current config.

@auto-assign auto-assign bot requested a review from Progi1984 June 27, 2024 07:50
@Progi1984 Progi1984 changed the base branch from develop to master September 1, 2024 10:51
@@ -83,15 +85,15 @@ public function getImageResource()
/**
* Set image resource.
*
* @param resource $value
* @param resource|false|GdImage|null $value
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaapdh Could you revert these changes, please ?

@Progi1984
Copy link
Member

Superseded by #843

@Progi1984 Progi1984 closed this Jan 17, 2025
@Progi1984 Progi1984 added this to the 1.2.0 milestone Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants